package cn.bulibuqi.myblog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Enumeration;

/**
 * @author bulibuqi
 * @create 2021-12-17:16
 */
@Controller
public class IndexController {
//    @GetMapping("/{id}/{name}")
////    public String index(@PathVariable Integer id,@PathVariable String name){
//////        int i = 10/0;
////
////        System.out.println("-----index------------");
////        return "index";
////    }






    @GetMapping("/myblog")
    public String blog(){


        return "myblog";
    }


}
